﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class ToggleTarget : MonoBehaviour, IPointerDownHandler {

    public ShowHideBehaviour ShowHideBehaviour;

    public void OnPointerDown(PointerEventData eventData) {
        this.ShowHideBehaviour.Toggle();
    }
}
